package com.rxb.blog.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * Author：rxb
 * Date：2020-02-26 16:28
 * Description：写博客 相关信息vo
 */
@Data
public class ArticleInfoVo {
    private Integer id; //文章info  id
    private String title;
    //private String type;
    private Integer top; //  是否置顶
    private String originalLink; //原始链接
    private Integer  original; //是否原创
    private Integer privateBlog;  //发布形式 公开/私密
    private String content;
    private String username;
    private Integer flag; // 发布/草稿
    private String concern; //根据置顶/私密/草稿 决定
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date update_date;
    private Integer currentPage;
    private Integer pageSize;
    private Integer pageStartNum;
    List<String> articleTypes; //博客类型
    private String type; //博客类型
    private String original_link;
    private String private_blog;
}
